package com.scmt.hmzd.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 优惠券使用记录
 * </p>
 *
 * @author ycy
 * @since 2023-03-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HmCouponUseRecord对象", description="优惠券使用记录")
public class HmCouponUseRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "优惠券使用记录id")
    @TableId(value = "coupon_use_record_id", type = IdType.AUTO)
    private Long couponUseRecordId;

    @ApiModelProperty(value = "用户优惠券id")
    private Long couponUserId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "订单流水号")
    private String orderNumber;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "使用时间")
    private Date useTime;

    @ApiModelProperty(value = "使用状态(1:冻结 2:已使用)")
    private Integer status;


}
